<template>
  <div class="hello">
    <button @click="changeLocale('en')">English</button>
    <button @click="changeLocale('zhCHS')">简体中文</button>
    <button @click="changeLocale('zhCHT')">繁體中文</button>
    <hr>
    <br/>
  </div>
</template>

<script>
export default {
  props: ['lang'],
  methods: {
    changeLocale (locale) {
      this.$emit('changeAppLocale', locale)
    }
  }
}
</script>
